import request  from '../utils/request';
//查询所有学生数据

export const queryStudentApi=(name,degree,clazzId,page,pageSize)=>
  request.get(`/students?name=${name}&degree=${degree}&clazzId=${clazzId}&page=${page}&pageSize=${pageSize}`);
 //新增部门
export const addStudentApi=(student)=> request.post('/students',student)
/*
//根据id查询部门
export const queryByIdApi=(id)=> request.get(`/depts/${id}`);

//修改部门
export const updateApi=(dept) => request.put('/depts',dept);

//删除部门  根据id删除
export const deleteApi=(id) => request.delete(`/depts?id=${id}`); */

